Document GtkWidget::state-changed signal properly
authorChristian Dywan <christian@twotoasts.de>
Mon, 11 Jan 2010 09:30:48 +0000 (10:30 +0100)
committerChristian Dywan <christian@twotoasts.de>
Mon, 11 Jan 2010 09:30:48 +0000 (10:30 +0100)
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=598383
gtk/gtkwidget.c

index d9e4ad983924a1ee4d0bca020ca2815c5bff3c00..5a4ab990a1f538f86d6ee9d658cb9b07fae5310c 100644 (file)
@@ -887,7 +887,10 @@ gtk_widget_class_init (GtkWidgetClass *klass)
   /**
    * GtkWidget::state-changed:
    * @widget: the object which received the signal.
-   * @state:
+   * @state: the previous state
+   *
+   * The ::state-changed signal is emitted when the widget state changes.
+   * See gtk_widget_get_state().
    */
   widget_signals[STATE_CHANGED] =
     g_signal_new (I_("state-changed"),